<?xml version='1.0' encoding='UTF-8'?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml" 
                xmlns:p="http://primefaces.org/ui"
                xmlns:ui="http://java.sun.com/jsf/facelets" 
                xmlns:f="http://java.sun.com/jsf/core" 
                xmlns:h="http://java.sun.com/jsf/html" 
                template="/WEB-INF/layout/template.xhtml"
                xmlns:c="http://java.sun.com/jsp/jstl/core" >

<ui:define name="body">


<h:form id="formMain"> 

<p:messages id="msgs"></p:messages>


		<h:outputText value="Usuario logado: #{usuarioLogado.login}"></h:outputText>
		<br/>
		<div style="float:left; padding-right: 5px; padding-top:5px;">
			<div>
				<p:commandButton action="#{bBHome.gerenciarMinhaLoteca}" value="Gerenciar Minha Loteca"
						 styleClass="botao" update=":formMain:msgs"/>
			</div>
		</div>
</h:form>

</ui:define>
</ui:composition>